﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="db1.aspx.cs" Inherits="CentralOffice.WebClient.db1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
     <div>
        <table>
            <tr>
                <td style="width: 762px">  请输入要执行的SQL语句：   <br />         
                    <asp:TextBox ID="TextBox1" runat="server" Height="207px" TextMode="MultiLine" Width="751px"></asp:TextBox></td>
                <td><asp:Button ID="Button4" runat="server" Text="执行SQL" OnClick="Button4_Click" OnClientClick="return confirm('确实要执行这些SQL语句吗?\n如果是删除或更新语句，则数据不能被还原了。');" /><br /><br /><br />
                    
                    </td>
            </tr>
            <tr><td colspan="2">
                    <asp:Button ID="btnExeLog" runat="server" Text="列出日志" 
                        onclick="btnExeLog_Click" />&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnExeTask" runat="server" Text="列出任务" 
                        onclick="btnExeTask_Click" />&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnExeApp" runat="server" Text="列出申请" 
                        onclick="btnExeApp_Click" />
            </td></tr>
            
        </table>
    </div>
    <div style="color:Red"><asp:Literal ID="lblError" runat="server" EnableViewState="false"></asp:Literal> </div>
    <asp:gridview ID="GridView2" runat="server" EnableViewState="false"></asp:gridview>
    
    </form>
</body>
</html>
